<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>

<form class="form-signin" action="<%=basePath%>groupShip/edit" method="post"
	enctype="multipart/form-data">
	<div class="modal-body onediv ">
		<p>
			<!-- id以及name文本框 动态 显示 -->
		<div class="control-group">
			<span class="z5">商品编号</span> <input id="goodsId" type="text"
				name="goodsId" class="oneinput" readonly="readonly" title="数据库中编号ID"
				required autofocus>
		</div>
		<div class="control-group">
			<span class="z5"> 商品名称</span> <input id="goodsName" type="text"
				name="goodsName" class="oneinput" readonly="readonly" title="数据库中编号ID"
				required autofocus>
		</div>
		<hr>
		<div class="control-group">
			<span class="z5"><b>普通分类:</b></span>
			<!-- 普通分类 -->
			<c:forEach items="${simpleGroups}" var="one">
				<label for="${one.id}"> 
				<input type="checkbox" id="${one.id}" name="groupids"
					value="${one.id}">${one.name}
				</label>
			</c:forEach>
			<br>
			<!-- 汽车分类 -->
			<span class="z5" ><b>汽车分类:</b></span>
			<c:forEach items="${carGroups}" var="two">
				<label for="${two.id}"> 
				<input type="checkbox" id="${two.id}" name="groupids"
					value="${two.id}">${two.name}
				</label>
			</c:forEach>
			<hr>
		</div>
		</p>
	</div>
	<div class="modal-footer">
		<!--<button class="btn" data-dismiss="modal" aria-hidden="true">放弃</button> -->
		<button class="btn btn-large btn-success btn-block" type="submit">确认提交</button>
	</div>
</form>
